Fix for SHM display not being available on linux.
Fix for iOS compiler warning