More SDK tweaks. Apps including advanced header should build now.