Fix for detecting the version number

Compare the lower case values of the command output