MingW build support (does not work yet). Some work on the texture tool.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>