Bug 1099202 - compile fixes for 'none' platform.  r=bbouvier