Object files are now compiled and placed in a dedicated directory.

Now if a parent project wishes to directly include the object files
into a final binary instead of using the static archive, the object
files are all placed in a dedicated directory to make inclusion easier.
Small updates to profiler demo and statistics array generation.