Fix a compile issue with GCC: ‘FLT_MAX’ was not declared in this scope