copy libs to output dir; allow different output dirs