Added debug flags in compile script.