issue #1683: Updating CCApplication.h/.cpp for linux.