streamline use of library with fortran