Merge pull request #1 from olibre/master

Added support for python and refactored Makefile
Don't fail when using mingw32-make