addapting paths so it is working with build env as well