For those who wants to help. Pavel discovered the cause of the problem for me. I've got too many modules in my package and it causes the error. The length of the command line strings is limited for windows so if you have too many modules the final build command can not list them all. I need to regroup my modules I guess..