please specify FORTRAN_STANDARD=2003 before the inherit line. This makes sure we have a specification compatible compiler active.