Added typeof check when loading externalized options in case an externalized option is just a simple object instead of a function that expects grunt.