fixes #11: POSIXLY_CORRECT now set on getopt for run