Fixed ubuntu compiler warning