[feature] fix compiler warning and add some ignored files extension
[feature] fix includedir and libdirs