Support for memcpy on OSX and Linux, Customisable min vector size for on-cpu reduction