Should do a check with module_enabled('islandora_ocr') before calling this function, when the module is not enabled languages should not be included in the form.