Put env variables in the before install

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>