Updated make_run_tests to build library for distribution