use before_install and install to setup clib and deps