Fixed crash at app launch on OSX 10.9 and before