Added cflags, cxxflags and ldflags parameters