Fix hard-coded path to libraries included in source directory.
Fix the gfortran "read/write after EOF" problem.
Authored by: k1jt 2014-03-11
Parent: [r3860]
Child: [r3862]