Only build ScriptDev2 library if enabled explicitly.