Fixed compilation errors.

Signed-off-by: Panajev <Panajev@gmail.com>