Switch to automake to build stuff