How to fix some Linux compilation error