trying to fix compile_levels.sh on macs