Added missing argument error handling to the versioncmp function