Add support for custom cflags, cxxflags, ldflags