Fix the warning on other platforms