missing constant includes in quadl and neldermead