Update build script for debug build.