They were mostly missing <cmath> or <math.h>.
pcsx2: disable advance SIMD instructions
By setting `-DDISABLE_ADVANCE_SIMD=TRUE` pcsx2 will be compiled with predefined SIMD flags instead of `-march=native`. This makes the resulting binary more portable. Further this seems to be needed to make pcsx2 compile with gcc5.