Error when compiling brainstorm

Passing arguments works in different ways in Windows and Linux, maybe there is something to fix...

Can you try compiling only Brainstorm first, not your script? (so that executing from the command line starts the Brainstorm interface)
Just to make sure the compilation does work in your setup.