Fixed compile error. Now seg fault.

Rearranged the includes to fix previous compile error. Now there is a
segmentation fault when trying to load the directory with tinydir. Can't
understand what is causing it though. http://i.imgur.com/5hKYBAp.png