minor porting and fixes
no linux dlls