Thanks for the quick reply.
Cool, your new executable apparently is already a huge improvement in this regard.
I'm a total noob when it comes to compiling stuff so I won't be of much help here.
My naive approach would include things like changing optimization levels or changing static vs dynamic linking.
I have also read about similar issues with Hyperspin and WinKawaks.
At least the latter is UPX-packed as far as I know so it's even less of a surprise virus scanners go bonkers