Rename source files: barriers.* to compat.*
Rename internal barrier implementation to pthread_*
and attach it to build only in absence of libpthread barriers