Fixed code compilation issues.

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