Adding grphite,link time and other optimization flag