I can get a build without any problem, is it related to the compiler? As far as I know, bits/stdc++ is a GNU GCC extension, I could be wrong. I will try to solve it.

Maybe something like this can be done: include bits/stdc++.h if glibc defined?