Clear up build and runtime dependancies