Pass installation directories to linking scripts.