Fixed include compile issues in release mode.