[Settings] Fix g++ compilation issue.