Fix undefined Array.wrap when AR isn't loaded (fixes #335)