Remove sample flint file in flint source folder.
Refactor OS detection in Makefile.lib.