Make sure LOG is defined before using it.
Install all optional dependencies on CI to run test suite.