[Library] Library loader/saver works on Pthreads, OpenMP, OpenCL and CUDA