use CONFIG_ANDROID_VERSION to set the SDK to build with and the minSDK
fix a bug with buffering in fgets
fix coremake Android double source file
use the jni/ folder to put the project file as described in the NDK doc
it used to be necessary to put the project file inside the NDK folder...