Allow the user to override the compiler used for testing

Change-Id: Ida62c2d85f541260f505c3dbd5d71a4b2a6004f4