Fix package building for Debug configuration.