force unregister_shmdata on segment disconnect
fix compilation