Execute use_inline_resources only in chef 11

Execute use_inline_resources only if available (chef 11 and above)