Fixing build on linux g++