Update sdb, simplify some makefiles
Fix bindings
Fix ELF regression issue