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

is this really needed?