[#22] Fixed wrong inverted condition on dll flag.