do gmcs checks for darwin platforms

fixes #5