properly pass CFLAGS and LDFLAGS when building extension module via setup.py
this fixes Debian build issues when hardening flags are used and properly
passes the -D_GNU_SOURCE required for the "implicit declaration of function
‘posix_openpt’" warning