fixing link order for MinGW
fixing struct name to prevent name collision with NVidia compiler
mixing material color and texture