"/usr/bin/env python" trick
make this work with non-gnu version of find
Merge into master from pull request #27:
portability improvements (https://github.com/floodlight/loxigen/pull/27)