Don't throw an exception about conflicting flag definitions if the
re-definition is happening in the same namespace.

Bumped version to 0.5.0.