changes needed for nsis 3.0b0
changes needed for non graphics context.. but also faster for all cases