Extract configuration step from the CheckCompilerFlag command to enable to share it with future CheckLinkerFlag implementation