Set SINGLE_THREAD to 0 and HAVE_SHARED_CONTEXT to 0 by default