Refer to native library directory properly.