Build in alternative directory instead of relying on deleting the files to avoid build issues