Build: ignore factor.image
Build: shared library on windows, static on linux