fixing release build settings and adding console output to identify debug builds