Avoid the dependency on the makefile from Go.

This avoids the extra step of "make golibs", and also leaves Go in control of
compilation flags.