support for dynamic linking
reuse system CFLAGS