make build work on mac
jni lib should not link dynamically as this breaks loading on macs (and other mac fixes)
add distclean target
make cflags and javac configurable
small patch for MSVC >= 16
rename win32 implementation of gettimeofday() to natpmp_gettimeofday()