Merge pull request #50 from balr0g/mac-uname-fix

Use uname -s which works everywhere
Added patches from issue #49
Added Makefile changes from issue #52
Added configure options to disable the building of bundled libmagic/libfuzzy libraries.
Fall back to system libmagic/libfuzzy libraries if custom ones are not found.