remove more static const returns on basic types

should clean up some warnings.