Fix compiling directories