Minor bug fixes

FIXED:
 -  Uppercase changed to transform instead of for_each works with
FreeBSD, OS X, Ubuntu and Debian (#5 closed)