Fix for building plugins in debug mode.
Merge branch 'topic/robin/dynamic-plugins-2.3' of ssh://git.bro.org/cmake into topic/robin/dynamic-plugins-2.3