remove build dir if exists. use absolute paths