Use the version of libemacs.so that is shipped with GNU APL