change static float declaration for cpp11 and not cpp11