Fixed copying of library files to demo on mac