Fix Common.cmake: use CURRENT_SOURCE_DIR in add_fixed_library_group.

Then use what's been fixed.
Finally fix building under Android by cleaning up type definitions.

Note that it just builds; the functionality has not been tested in any
way.