Makefile fixed to work with MinGW

LUX_USE_LINUX must be undefined while compiling under MinGW
Fixed creation of empty file while using --raw option