Platform macros

- use `#ifdef CS_PLATFORM_UNIX` rather than `#if defined(__unix) || (defined(__APPLE__) && defined(__MACH__))`
- get reasonable error messages on platforms that are not supported at the moment
- small build script tweak to make it less verbose