For now, only allow brian units for preferences (don't import numpy and
scipy -- this clashes with doc generation where we mock scipy)