Export functions for dll.
Use dynamic library
Changed build order