fix getopt wrongly treating colons in optstring as valid option chars