Fixed launching for different dirs on Mac OS X