Add pyside_dist to gitignore
Don't copy empty folders in copydir() function
Fix patchelf build