FIX: cross-complation

Fixes xbmc compilation on (at least) win32. Unrelated to imx self but obviously needed for XBMC merging ;)