Reimplementing loading native library