Use EMBER_ENV if specified. (closes #749)

closes #749