fix bug: do not assume build/ dir present in base directory