Add check for stropts.h header - not available on OS X.
First pass at making build work on OS X. Needs to be tested on other platforms. Python zip library still needs to be added.