Added --enable-preserve-sharing configure flag