slight changes in build scripts (ncc part)