LPS-38192 reorganize build scripts