Bug 977964 - Move some flags to moz.build; r=glandium