fixed coping of files items on Mac, pyinstaller compilation issues on Mac