Fixed gcc option order for Ubuntu 12

Lax treatment of gcc options produced errors when running with older gcc
version.  I think this is the proper order.