Use array_merge_recursive for option merging.

We need to merge recursive else the deep arrays like theme are not correctly merged.