fix to use __dirname for any working directory (especially TravisCI)