Linking Fortran library to python