Fixes issue with build not being correctly cleaned with newer versions of Xcode