handling different build locations