fixing problem copying dependency libraries