improve linaro_compilerchecks

Summary: Fixes a bug with inline toolchain builds.

Test Plan: win

Reviewers: randall.rushing, Mustaavalkosta, michyprima, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D291