Added patch for passing down cflags etc.