Project can be only built with go1.12 or newer other build related changes to use new go1.12 features. Fixes #2815