fix osx startup script /usr/local test

A vanilla OSX system has no /usr/local/ folder. Ardour can still
run with the coreaudio or dummy backend.
osx build script: change default xjadeo/harvid cache folder
osx packaging: add some checks to reduce warnings
add 512px icon
linux packaging: add some checks to reduce warnings