Bug fix on gpf.define

Definition was incorrect if base not specified