Use own getopt. D's getopt is buggy.