Compilation is fixed now. Thing is that emu.h should not be included in libs, but it was.