add more dependecies. tweak build and install rules