Compilation and build fixes. Now embedlite compiles on GCC4.8.3!

I guess the rpm folder can be safely removed from this repo. It's more convenient to maintain it in https://github.com/nemomobile-packages/gecko-dev only.