Check drupal version to prevent some part to be run on drupal 6.