Fixed glibc errors insert.cpp, can't verify with select