Clang fix

On FreeBSD, i need 2 fix to be able to build XBMC with clang.

tested with clang 3.1 and 3.2 (trunk)