fixed compilation errors after upgrading gameplay3d