Updated genfiles.sh to check for eixtence of build path
and to create it if it's not there.