Fixes for Android build, tried to integrate S3D, can't without headers