mac homebrew compatible makefile with install target for fortran library