Experimental Mac support added, closes #17

Both os_test.q and hk_test.q pass on Linux, Windows and Mac.