Fixing compiling problem with strcmp