Finally, a solution to compile.cf
Oops, make sure that if prefix/1 is undefined we used ./ as the style_dir.