Update platform.h to assert Mac recognition.

POSIX is not defined by my compiler, __APPLE__ is. This is on GCC 4.8.3 installed from Homebrew. Compiler skips to the error on :322 and no platform_*.h is included, leading to errors during compilation.