PS3 compiling with VS2005 and VS2008

Fixed the errors with Visual Studio 2008 (probably VS2005 as well, but I
couldn't test that) when compiling PS3. There are still quite a few
warnings, but they seem to originate from the way Premake4 generates the
projects and there doesn't seem much that I can do about it. VS2010
looks to have a similiar problem with Premake4, but I'll need some more
time to look into that.