On Linux set LDFLAGS and LD_LIBRARY_PATH.

Fixes
=====
* This fixes a compile problem on Linux where shared libraries are
  not found in the configure step.
Added netcdf lib directory to LD_LIBRARY_PATH.

Fixed
=====
* This fixes an error where the netcdf libraries cannot be found
  when building the fortran bindings.