unix: fix colliding flag value

Fixes #1425