ignore errors if the directory doesn't exist
remove the -arch flag if we're on linux-x86.64.  on ubuntu at least this causes an annoying warning