Using the correct root path in preProcessor step