Use condition instead of SOLARUS_DONT_USE_OSX_SANDBOX since Obj-C accept calling NULL methods and it's not an in-game feature