Make build on osx easier

After this patches can build twister without setup env variables on osx