Fix for newer BlackBerry Native SDK, on Windows