Add APL_DIST to dir-locals
Bring in changes from GNU APL master