Fixes up the auto and clean build targets