Fixed dlsym return value