use gyp conditions to build successfully on linux

gcc needs the -std=gnu99 parameter to be passed. I was tried using the config/OS/arch directory but haven't had any success with that yet.