Fix prelime tk build issues