[Compiler] Properly resolve relative paths