Fix win32 msys build
Merge pull request #25 from Lord-Nightmare/master

Fix for building on win32 mingw-msys
Create posix_mkdir() abstraction over environment-dependent mkdir()
Merge branch 'master' into appleII