Added support of dynamic execution on platforms

Suppport for dynamic selection of curl libraries for different
platforms. It is not necessary now to compile statically for selected
platform.
Copying of curl libraries to samples on post built event
Revert "Copying of curl libraries to samples on post built event"

This reverts commit 687e988731b5d01dfa2bdad126de975fed1fb1ba.