I don't like having STANDALONE_OTP_VERSION default to OTP_VERSION - it means if you forget to specify STANDALONE_OTP_VERSION you will build a standalone package which includes an ancient Erlang version and plugins etc will not work.