Compile fix for linux