Made applications source Mac OS X compatible

So that applications in default locations + ~/Applications can be launched on a mac also