Fixed the issue where it would not use the compiler from the parent

Also removed the comments from the sample build file, as org.json follows
the json RFC a bit stricter and does NOT allow duplicate keys.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
Got rid of a couple of warnings like not closing certain files

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>