#ifdef declare InitApplicationBundle only for OSX

InitApplicationBundle() is only necessary on OSX