remove irrelevant build-related code