Fixed error in buffer path allocation, core is now a dynamic library