Fixing native code compilation