Fixed compile error issues with appcompat v7