Remove debug message
Suppress warnings in release mode

Fixes #698