#4410: added core build script