build libcompiler_rt hopefully correctly

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>