Wrong source and target levels for the release build. The values are not inherited, since it's a different build target