Fixed other OS

Tested on Mac OS Mavericks