changes needed for compiling successfully on Ubuntu 14.04 ... 

with intel's opencl sdk.
Hi @wanderine. These are the changes I had to apply. The broccoli lib needs to be linked before the lOpenCl. Now it compiles flawlessly. The alternate compile script might not be necessary if you change the order in the normal script and it still works for you and on other systems.