configure: Add another warning in case --disable-pthread is used