Fixed some errors in the abstraction layer.
use the abstraction layer instead of aversive.h
whitespace fix.
added platform support for host.