fix for OOME during ODE build