fcm build: fix fortran interface generation

Configuration logic was broken by #156.
Merge pull request #164 from matthewrmshin/fix-fcm-build-f-interface

fcm build: fix fortran interface generation