Fixed the dll/so working routines to perform as expected