Enable support for imperial units, fixes #4