Add ark version constraint to metadata.rb

In addition to updating agent_prebuild.rb to fix issue #163.