removed dynamic library installation when building non-static versions