Made it work in OS X, don't think I broke Windows. Requires GLFW and portaudio to be installed. Added makefile for Darwin building.