Move RELEASE_ROOT definition to top with other constants

We're going to need it all over the place.
Redefine LIBRARY_CORE_DIR as an absolute path based on RELEASE_ROOT

This should fix #27