Revert the invalidate build code