Looks like SBT_OPTS is overwritten if set in env

Therefore moved it to before_install part of build cycle.