fix static library from `resource` to `preserve_paths` to avoid apple reject app!!

`resource` key will copy static library to app bundle!! And apple will reject the app, because the app can not include executable file!!