Update hercules.rb

Use needed compiler directive for latest compiler.