Update DSLibrary.gyp to support build configurations.