Fix installation failure on OSX10.8 or former

"option" and "depends_on" are class methods. so raising error in install method.