up #351 @feelpp/turing
 - modified script to compile static libs
 - add f90 lib rpath to fix link issue

Now applications are compiled and linked properly. They however crash at runtime
early in the code.