server: Use the correct process when looking for a mapped dll.