add some tools to help with build
fix a target reference