Correctly parse argv flags as boolean. Fixes #8