Make build well-defined

Set compiler plugin version and source encoding.