install them first.
sudo apt install libhdf5-dev libcapstone-dev
then delete build dir.
rm -rf build
finally, rebuild it.