Compile fix for gcc