[Build] Move first xbuild run to pre-build scripts