-std=gnu99 to gcc args added (disables variadic macros warnings)