Windows: This should be sufficient for creating DLL
Fix compilation on Linux