fix compilation error on Ubuntu
fix compilation error with MVAPICH2
merge feature/portable