Fix Blackberry build.