Remove AC_FUNC_SETPGRP as it can cause issues when cross-compiling