Set permissions on copied libcurl