Makefile.am: Build main Makefile first

Helps speed up iterating through build or test failures

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>