Run time illegal access checks on static and direct methods

Fixes test 075.

Change-Id: I28b20451dcae8000dc0e2cb9068dfa5166659d43
diff --git a/build/Android.common.mk b/build/Android.common.mk
index 853c4d2..dd8a483 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -60,7 +60,7 @@
 	dalvik/libdex
 
 art_cflags := \
-	-O2 \
+	-O0 \
 	-ggdb3 \
 	-Wall \
 	-Werror \
@@ -127,6 +127,7 @@
 	src/calling_convention_arm.cc \
 	src/calling_convention_x86.cc \
 	src/card_table.cc \
+	src/constants.cc \
 	src/context.cc \
 	src/context_arm.cc.arm \
 	src/context_x86.cc \