SGF-155 - fixed build script