Improve dependency copying and add debug/release additional install dirs