Make build work for plan9