Check if "use_inline_resources" are defined

On some versions of Chef 'use_inline_resources' might not be defined.

Fix taken from https://github.com/opscode-cookbooks/ark/pull/25