Remove fno-method-sharing from the list of static flags