Build cleanup

Small clean up of the repository so that it compiles on systems with case sensitive file systems and uses a defined encoding.