Use pwd to fix compilation errors