some utils to build and install