removed hard coded 37 size of string on osx

this will then work in python3 (49) as well