Use archive file for a while

Building the whole EB library takes a few time, but I hardly change
C code so it would be nice to use pre-build ar file for development.
Add hook support