Change when libsocket check happens during configure to fix some cases where it cause lfs to not be detected correctly.
Merge branch 'symform_reorder_configure_check_for_libsocket' into symform-2-10