NumConstraint: add constructors with char* (Fix issue #4)