Allow PREFIX override and extend cflags from system.