Generally speaking it’s best to compile stuff on an older distro (like Xubuntu 14.04) if you want your binary to work everywhere. This is mostly because of glibc that is forward compatible but not backward compatible.