Use first prefix is multiple prefixes are defined

fix petebrowne/sprockets-helpers/#24