refactor layout of native library resources to allow multiple targets with same extension