Added conditional compilation in case of SHARK library usage. Me sad for the way (I'd prefer to extract it to a different directory and not include it in the build), but who cares? It works