Changed CMake options to compile the core shared

It is now compiled under 'toxcore' instead of just 'core' to be able to be installed without conflicts.