Build fix for non-ffmpeg and non-gcc non-++11.
Increase optimisations on Blackberry.