build dir extracted to variable