fixed build with g++ 5+ and ASAN enabled