bugfix: need to escape `$` in Makefiles
set fixed random seed

This was a pain for

- Python (default RNG will use `/dev/urandom`)
- bash (`for` loop seems to start a subshell (???))
location of executables is ignored for test
attempt to support Scala on Ubuntu 12.04