Don't require root if install dir is writable

For many users (particularly OS X users if they've setup HomeBrew the
recommended way) the default install prefix of /usr/local/bin will already be
writable and for users specifying an alternate prefix like $HOME/bin it will be
as well.  So don't require sudo usage in such cases.