main: use proper variable when warning about unsupported features