updated build system for elib
updated build system for elib