missing -lpthread for shmffi