use select() instead of poll() in lcm_mpdupm.c