Remove tests from library build.