Add -Xlint:deprecation to compiler arguments to show deprecation warnings.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>