Migrated build system to autoconf (not automake)
Build system update for OS X