bugfix curl, copy also libs