Fix for path based compilation.