remove apr_atomic dependency