Following the answer from this StackOverflow question how do I create the proper integer for mask?
I made some googling and the everything I found uses CPU_SE
CPU_SE
Try add this before your include
#define _GNU_SOURCE