configure: Better poll() and select() checks