This subtly changes the default config to a rebar3 style config that can be used by non-rebar build tools like mix. Only on a positive test for rebar2 do we avoid adding the port_compiler plugin and related options.