Changed mongoose build flags