Fix runtime error with 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 the source file which can be overcome when doing a static cast of the variable.