Use GNU getopt on BSD systems