Fix build constraints for android