Fix roundf not available on Windows