Fix compile errors resulting from upstream Linux updates

Signed-off-by: Sultanxda <sultanxda@gmail.com>