* fixed compilation issues on Ubuntu