Fixes and Hacks to compile and run FirefoxOS/B2g on HTC One