Improve Debug and Release configurations.

Signed-off-by: Thiago Farina <tfarina@chromium.org>