Fixed addDefine<float> and addDefine<double>