fix for g++ 4.6