Library reference issues

Reference all the libraries it needs and set them to copy-local