build: add pure make tolower/toupper funtions that do not require shell calls