Fixed to work with python 3.4

Changed compiler.py so it now builds correctly with python 3.4, also explicitly included the Java directorties so it's able to find jni.h for compiling with use for Java.