fcm build: fix fortran interface generation

Configuration logic was broken by #156.