OSX Fix

Hey, sorry for the trouble, but I fixed an issue with the OSX support. I only found it out when testing a project of mine that had long titles and UTF8 in the parameters.

Joe :)