Only use Rake::ExtensionTask if it was loaded

Thanks to Matt Aimonetti