cmake: Fix for monolithic Android build