optparse: fix compiler warning reported by travis