Fixes for dylib rpaths in the build-dep.sh script
Store last eventID for file monitoring in preference plist