Only run autogen.sh when needed

If we re-run a build script that has already been configured, skip the
call to autogen.sh and invoke make directly. Make will automatically
invoke configure again if needed.
Update pthread-stubs script

This is not needed for L4T but will be if we support Arch Linux images
in the future, so keep it around for now.