More informative logging about resetting compilers.

Slightly changed the deprecation warning test, trying to work around possible
race condition.