add two missing flags from cfxe and add gold LDFLAGS

LDFLAGS changes taken from: http://review.codefirex.com/D201

Change-Id: I876933b54173c035f66880ac78462a797eb5b12f