Path fixes for installed libraries.
Moved core files to the core package.