#25 Patch to ensure that build fails if patching is unsuccessful