-o and -r option don't exist on AIX
Merge pull request #2940 from madema/patch-3

-o and -r option don't exist on AIX