Use unsigned for the pkg flags