Resolve errors that arise while building cm11

Doesnt boot yet.

Signed-off-by: Tianrui Guo <tianrui@pac-rom.com>