Fixes regarding ==, add gbl_size and Makefile [ci skip]