Enable warnings
Fix compiler warnings