Call use_inline_resources only if defined