Fixed more ubuntu compiler warnings