Remove some dead build code.