Fix platform detection of OSX ('darwin')