Set libdir as a define LIBDIR