Fixed buildcraft API cleaning in XML build

:palm_tree: