Cleanup diff with compat.

Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
diff --git a/rsScript.h b/rsScript.h
index 8afd3bc..b6173bb 100644
--- a/rsScript.h
+++ b/rsScript.h
@@ -24,10 +24,12 @@
 namespace android {
 namespace renderscript {
 
+#ifndef RS_COMPATIBILITY_LIB
 class ProgramVertex;
 class ProgramFragment;
 class ProgramRaster;
 class ProgramStore;
+#endif
 
 class ScriptKernelID : public ObjectBase {
 public:
@@ -86,10 +88,12 @@
         int64_t mStartTimeMillis;
         mutable int64_t mLastDtTime;
 
+#ifndef RS_COMPATIBILITY_LIB
         ObjectBaseRef<ProgramVertex> mVertex;
         ObjectBaseRef<ProgramFragment> mFragment;
         ObjectBaseRef<ProgramRaster> mRaster;
         ObjectBaseRef<ProgramStore> mFragmentStore;
+#endif
     };
     Enviroment_t mEnviroment;