buildfile: don't forget to free temporary string bpath