bin/compile: Fix cd'ing around