Fix compile errors in apps