Buildfix for Symbian and OSX