build: detect and use libnuma