Fix Blackberry10 building on non-Windows systems.