Fix build and link `core` as a proper crate
* debugging symbols nearly work
* .gitignore