compiles better on Ubunto

there is still one warning but its better than the hundreds there were