Make sure path ends with /. Otherwise compilation-mode gets confused.