Fixed StateManager class not compiling with GNU compilers
Removed unused ImageHolder from Application and its context
Fixed Animation::loadFromFile not returning the success
Fixed extlibs should only be used on Windows
Fixed XInitThreads() which wasn't called on Unix platforms