Native java screen recorder: Fix build errors