Removed a few gcc warnings