added basic internal support for KIND for built in arithmetic types