You could do this simpler by 

preBuild="cd src";