string format specifier fixes for OS X
added license