BlackBerry compile fix