Fix for compiling on Arch Linux with clang 3.4
Fixed compilation errors with g++ 4.8.2 on Arch Linux