Battle Marine: Support configuration for Linux and macOS

Fixed a problem that could cause rendering errors in some environments. Fixed a problem that could cause a crash during ELF relocation. Fixed a problem that could cause a crash when exiting the game Customization of beh…