Fix runtime error on macosx 10.13
With macosx 10.13 (Apple clang 10.0) there is a runtime problem when loading libL1. The problem is due to the usage of a static constexpr in a LOG statement. The runtime error can be overcome when doing a static cast of the variables.