Fix wrong strcmp usage

Thanks to Wolfgang Goetz for spotting this.