Fixed remaining compile warnings.
Rakefile is still fucked up and does a full compile every time even when nothing has changed.
Rake can now so incremental builds with exact dependency management for C source/header files.
Refactored Rake build files.