[TASK][Check] Add freetype check

Additionally, some refactoring in Installer.php regarding freetype
support and check are done.