Fix for MMAMS tests: results apparently have some dependance on library versions (gsl?) etc.
Fix for build.py's dir mode: example interface now accepts options like redirection