working to fix DLL compiler errors