Ubuntu - Changes in main.c

Signed-off-by: pavel <pavel.svirida@jotautomation.com>