fixed native libraries problems