more fixes
better compilation with all warnings
another compile flag