Always chdir into ij_dir on Mac OS X