Fixed compilation warnings of linux gcc48