fixed f77 test, more compiler flags for test programs