CopyDlls before compiling to ensure proper dependencies

Change-Id: I76fb2bcd3fbc5b9d82362ab4e6a17d1a210c266d