Fixed to compile on Linux