fix src/Makefile.am to put gcc arguments in correct order
The objects and linkers args were in reverse for what is
correct.