Improve checking of Fortran default types
Currently Fortran default types are checked during compilation. A better approach would be to move this check to the Fortran wrapper, where default kinds are known at runtime and don't require a compile check.