Merge pull request #5 from billcarlson/master

Added check for bc, fall back to perl.