disable the retain-memory optimization in levmar sdk as it is not threadsafe