adds support for linux32 & 64bits

just needed to compile opencv and add a couple of flags so it loads the native libraries from java. i've also changed the platform checks to use PConstants.PALTFORM instead of integers