remove unbuilt libraries when built version exist