fix for #3077
removing "-fvisibility=hidden" gcc option due to lack of `__attribute__ ((visibility("default")))` in jni_md.h/JNIEXPORT
Merge pull request #1012 from apavlenko:fix_3077
fixed compilation with CUDA 4.2
Merge pull request #1027 from jet47:fix-cuda-4.2-build