Convert automake to a hacky go-based Makefile