added missing #ifdef __apple__
added missing tests
added IGNORE:4264 to linker command line options
added missing CocoStudio files
fixed build warnings