db2mag: compile fix