#ifdef  compile InitApplicationBundle only for OSX

InitApplicationBundle() is only necessary on OSX