Revert "Revert "Copying of curl libraries to samples on post built event""

This reverts commit df131045c188f3efb90c1549b55f81f1717ff74f.