CFLAGS for export_hdf were missing.

Couple more compiler errors to be fixed along the way.