Compile fix for Linux