Fix using use_inline_resources