Updated select to v3.5.1 and removed unused files to fix #3340

This is meant to fix #3340