Updating automake version, use glibtoolize for OSX

Just some small changes to get compiling working on my machine.

At some point it would be nice to convert the project over to use CMake..