Fix encoding, fix dot.gitignore
Add a linker script to hopefully avoid dlopen() breaking everything