More logging
Make sure the compiler compatibility is correctly set.
Minor performance enhancement on tearDown