Fix compilation for ellduino emulator

Now succesfully compiles sketch to emulator/ellduino/sketch and
emulator/ellduino/libsketch.so, but neither work under Mac OS X.
Testing needed on Linux