Revert "making it also compile on linux"

This reverts commit 02697a62c24fd10fde919ce505ae7e6211926059.

This made things break on OS X. Don't want to deal with making the
builds fully compatible right now.
fix depends generation

The rules generated by gcc don't include the src/ part of the path,
which was causing the auto dependencies to not actually be used. A
quick fix with sed for now.
Adding code to read a basic config file