Add placeholder for sync.
Remove warning unless we compile in debug.
Update TESTS_ENVIRONMENT with LOG_COMPILER.
Merge bzr://gaz.haus/ Build: jenkins-Gearmand-975