patch for building terracotta-4.1.1 in normal environment