refactored ST build system support
ruby version for rbenv
Merge pull request #119 from gAmUssA/master

fixes in build system for ST2/3