Correctly set box2d options as cmake cache variables.