Fix tls_init() call to work in position independent code