Building and linking to a shared Fortran library