test #core_libdir and #site_libdir