adding initial (but working on OSX!) autotools stuff